<?xml version='1.0' encoding='UTF-8' ?>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml"
      xmlns:ui="http://java.sun.com/jsf/facelets"
      xmlns:p="http://primefaces.org/ui"
      xmlns:h="http://java.sun.com/jsf/html"
      xmlns:f="http://java.sun.com/jsf/core">

    <body>

        <ui:composition template="./LogInTemplate.xhtml">

            <ui:define name="top">
                <p:panel>
                    <br/>
                    <h1>
                        Are you fully sure...?
                    </h1>
                    <br/>
                    <br/>
                </p:panel>
            </ui:define>

            <ui:define name="content">
                <p:panel>
                    <f:view>
                        <h:form>
                            <h:panelGrid columns="2">
                                <h:outputText value="Date: "/>
                                <h:outputText value="#{assignScholarshipBean.assignScholarship.date}" title="Date">
                                    <f:convertDateTime pattern="MM/dd/yyyy" />
                                </h:outputText>
                                <h:outputText value="Student Name: "/>
                                <h:outputText value="#{assignScholarshipBean.assignScholarship.idStudent}" title="IdStudent"/>
                                <h:outputText value="Scholarship type: "/>
                                <h:outputText value="#{assignScholarshipBean.assignScholarship.idScholarship}" title="IdScholarship"/>
                                <p:commandButton value="Accept" action="#{assignScholarshipBean.processAction}"/>
                                <p:commandButton value="Cancel" action="AssignScholarshipCreateEdit" immediate="true"/>
                            </h:panelGrid>
                        </h:form>
                    </f:view>
                </p:panel>
            </ui:define>
        </ui:composition>

    </body>
</html>
